// app.js
App({
  onLaunch() {
    const systemInfo = wx.getSystemInfoSync()
    this.globalData.statusBarHeight = systemInfo.statusBarHeight
  },
  globalData: {
    statusBarHeight: 0
  }
})
